package edu.stu.cs.software.family.spurious.web.spring;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import edu.stu.cs.software.family.base.web.spring.controller.GenericController;
import edu.stu.cs.software.family.spurious.BuyManager;
import edu.stu.cs.software.family.spurious.domain.Buy;

@RestController
@RequestMapping(value = "/buy")
public class BuyController extends GenericController<Buy,Long,BuyManager>{

	BuyManager buyManager;

	@Autowired
	public void setBuyManager(BuyManager buyManager) {
		this.buyManager = buyManager;
		this.manager = this.buyManager;
	}
	
	
}
